package com.nycreativity.elecreativity.entity.param.sku

import com.nycreativity.elecreativity.entity.param.PageParam
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import java.math.BigDecimal
import javax.validation.constraints.Min
import javax.validation.constraints.NotBlank
import javax.validation.constraints.NotNull

@ApiModel("sku的查询对象")
class SkuQueryParam: PageParam(){

        /**
         * 品牌id
         */
        @ApiModelProperty("品牌id列表")
        var brandIdList: LongArray? = null

        /**
         * 颜色
         */
        @ApiModelProperty("颜色，模糊查找")
        var color: String? = null

        /**
         * 最低价
         */
        @ApiModelProperty("最低价")
        var minPrice: Long? = null

        /**
         * 最高价
         */
        @ApiModelProperty("最高价")
        var maxPrice: Long? = null

        /**
         * 排序方式
         */
        @ApiModelProperty("0：最新 1：推荐 2：价格升序 3：价格降序")
        var sort: Long? = 0

}